Kerwin F. Medina (New Westminster, BC) contributes LZHLIB, a small C library with the minimum code neccessary to compress and uncompress using the LZH algorithm. This library is a direct derivative of the source cod of Haruhiko Okumura's popular "ar" archiver. Medina has created the library so an application can make use of compression with a function call and without having to spawn an external compression program. The library has only two API functions: "lzh_freeze" (to compress) and "lzh_melt" (to decompress). In both cases, the caller only has to provide the I/O functions and memory allocation functions. The interface is simple enough that you can integrate it with fewer than 20 additional lines of code in your program. LZHLIB can be built on MS-DOS, Unix, and other platforms. LZHLIB as released on 04/18/96 is now available on the CUG CD-ROM.
Index of /vol_400/456_01/
Kerwin F. Medina (New Westminster, BC) contributes LZHLIB, a small C library with the minimum code neccessary to compress and uncompress using the LZH algorithm. This library is a direct derivative of the source cod of Haruhiko Okumura's popular "ar" archiver. Medina has created the library so an application can make use of compression with a function call and without having to spawn an external compression program. The library has only two API functions: "lzh_freeze" (to compress) and "lzh_melt" (to decompress). In both cases, the caller only has to provide the I/O functions and memory allocation functions. The interface is simple enough that you can integrate it with fewer than 20 additional lines of code in your program. LZHLIB can be built on MS-DOS, Unix, and other platforms. LZHLIB as released on 04/18/96 is now available on the CUG CD-ROM.
- LZH.H
- 1740 04-18-96
- LZHCLIB.C
- 20845 04-22-96
- LZHLIB.TXT
- 4641 04-22-96
- LZHXLIB.C
- 10245 04-22-96
- lzhlib.zip
- 10707 10-24-96